Technotes
On Creating Web-Friendly Documentation: A Few Techniques
With the recent explosion of Web publishing, more and more documentation will be viewed primarily online, using your Netscape or Web browser. This signifies a rapid paradigm shift in both writing styles and content. Programmers and developers, in particular, need to understand that their forays into documentation must meet the test of online viewing, rather than hard copy printing.
This Technote introduces a series of techniques designed to improve the quality
of technical writing for a developer or programmer audience. It is aimed at
content producers who must produce Release Notes, Readme files, and other forms
of technical writing.
Integrating the Documentation Process Into Your ProjectWriting documentation (docs) is usually something that comes at the end of a software or hardware project rather than at the beginning. Typically, it's done in the eleventh hour, like an afterthought rather than an integral part of the project. Imagine if you waited until the night before a code sample was due to start writing the code!There are no formulas for producing documentation, particularly if it is aimed at a highly technical audience. A rule of thumb that I've found especially helpful in the creation of any documentation is to allocate time for writing one page per day. If you factor one page per day into the equation for your project, you'll find yourself in less of a "pressure-cooker" situation as the release date nears. With this very simple step, and a commitment to follow through, you've overcome one of the largest stumbling blocks to creating lucid and comprehensible documentation. Selecting Your Writing ToolsYou want to match the tool to the project. To produce a first draft of any document, you need to use the tool that you're most comfortable with, i.e., a speedy word processor or text editor such as BBEdit. After producing the first draft comes the process of honing the document, a process which may require a more sophisticated tool, particularly if you are adding figures, tables, or footnotes.
Consequences of Online DocumentationThere are consequences to online documentation: 1) you must break down the information into smaller, often shorter sections, 2) you need to work with numbered lists, 3) your paragraphs need to be more concise, with a strong topic sentence which will catch the reader's eye and a concluding sentence that will resolve the issues or ideas raised in that paragraph, and lastly, 4) you'll have to work with a reader who has a shorter attention span.Ultimately, as Web publishing becomes the standard, and you find your Netscape browser with a set of Web editing tools built in (such as you have with Adobe PageMill), your reader will also expect to find hypertext links embedded in your paragraphs. That's not just the wave of the future, it's today's reality. If your document meets the HTML test, it'll have a definite outline form, with level headings, bulleted lists, and a clearly demarcated structure. Figure 1 shows an example of viewing a draft online.
Figure 1: An
example of a draft viewed online
Working with a Specific Structure, an ExampleIt's important that your document follow a particular structure that the reader can anticipate while reading.For example, Release Notes accompanying sample code, or an app you've built and want to share, may include the following sections:
Using Color Text for Heading LevelsIf your document is going to be viewed onscreen, rather than printed, you can enhance its readability simply by adding blue and red heading levels, both to help the reader keep track of sections, and to prevent his or her being overwhelmed by a solid wall of text onscreen.There are no rules that I know of for deciding which colors are preferable. Use your own judgment. For a long time, traditionalists disdained using color text in word processing documents, but I find that if my document is eventually to be converted to an Acrobat or another portable document file format, colored text goes a long way towards improving its readability. In fact, color text can even be a very useful method of getting reviewers to mark up a document, as explained in the next section. Using Color Text in the Review ProcessYou can eliminate the hassle of printing 10 copies of your document, passing them around to reviewers, and getting back coffee-stained copies with indecipherable comments by using a different technique for review. Here are the steps.
![]() This technique results both in a speedier review process, and a more active involvement by the review team, which will improve the quality of the final document. Tracking your WorkJust as you would keep a change log of code that you've written, it's important to keep a log of documents that you've produced, and their status, e.g., out for review, on hold, released, etc. Here is a little FileMakerPro 3 tracking database that I've created. The fields are modifiable, so you can create one to fit your own needs. Figure 3 shows a screen from the tracking database.
Figure 3: The TechWritingTracker
Download
the FileMakerPro 5 TechWritingTracker by clicking on this icon. SummaryThe wave of the future for technical documentation is the Web, and it's already here. This change of venue has important consequences for writing and publishing. Documents that fail to meet the test of online readability will frustrate readers. The techniques described in this Technote ought to help you begin to write more Web-friendly documentation.
Technotes Previous Technote | Contents | Next Technote |